//
//  RBDataBaseTool.h
//  数据库操作
//
//  Created by RaoBo on 2018/7/6.
//  Copyright © 2018年 RaoBo. All rights reserved.
//

#import <Foundation/Foundation.h>
@class XJCommunityModel;

@interface RBDataBaseTool : NSObject

+ (instancetype)shareDataBase ;

- (void)addCommunityModel:(XJCommunityModel *)model;
- (void)deleteCommunityModel:(XJCommunityModel *)model;

- (NSMutableArray *)queryAllCommunityModel;

/**清空数据库*/
- (void)deleteAllCommunityModel;

@end
